
//
//	cove.display.Stage - 2011 May 10th
//
//	The Point object represents a location in a two-dimensional coordinate system, where x
//	represents the horizontal axis and y represents the vertical axis. 
//
//-------------------------------------------------------------------------------------------------

var DisplayObjectContainer = cove.display.DisplayObjectContainer = cove.display.InteractiveObject.extend({
	
	addChild: function(child) {
		if(child instanceof DisplayObject) {
			this._htmlElement.appendChild(child._htmlElement);
			child._stage = this._stage;
			child._root = this._root;
			child._parent = this;
			this._stage._enterFrames.push(child);
			return child;
		}
	}
	
});
